﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LeHouse.Server.Dto;
namespace LeHouse.Server.Dal
{
    using ServiceStack.OrmLite;
    using System.Linq.Expressions;
    using System.Configuration;

    /// <summary>
    /// 部门的DAL
    /// </summary>
    public class System_DepartmentDAL : GenericBaseDAL<System_Department>
    {
        /// <summary>
        /// 部门的下拉框的获取
        /// </summary>
        /// <returns></returns>
        public List<System_Department> Selectdroplist()
        {
            using (var cnn = DbConnection)
            {
                return cnn.Select<System_Department>();
            }   
        }
        


    }
}
